package com.xiaoshuidi.cloud.module.iot.enums;

public enum RedisTypeEnum {
    SDIOT_ACCESS_TOKEN("SDIOT:ACCESS_TOKEN:", "水滴IOT第三方访问凭证"),
    SDIOT_APINOPULLDEVICE("SDIOT:APINOPULLDEVICE:", "水滴IOT拉取设备防重key"),
    SDIOT_REFRESHAMMETER("SDIOT:REFRESHAMMETER:", "水滴IOT刷新电表设备防重key"),
    SDIOT_REFRESHWATERMETER("SDIOT:REFRESHWATERMETER:", "水滴IOT刷新水表设备防重key"),
    SDIOT_REFRESHDOORLOCK("SDIOT:REFRESHDOORLOCK:", "水滴IOT门锁下发密码防重key"),
    SDIOT_DOORLOCK_ROLLBACK("SDIOT:DOORLOCK:ROLLBACK:", "水滴IOT门锁回滚防重key"),
    SDIOT_AMMETER_SWITCH("SDIOT:AMMETER:SWITCH:", "水滴电表开关标志key"),
    SDIOT_DYNAMICDOORLOCK("SDIOT:DYNAMICDOORLOCK:", "水滴IOT门锁下发一次性密码计数key"),
    SDIOT_DEVICE_OPERATE("SDIOT:CONTROL:","水滴iot智能设备操作防重key"),
    DH_AUA_EXCEPTION_PULL("SDIOT:EXCEPTION:DAHUA","水滴iot大华智能设备拉取异常设备防重key"),
    BITE_EVENT("SDIOT:BITE:DAHUA","水滴iot比特事件防重key"),
    SDIOT_CLEAR_DUPLICATE("SDIOT:CLEAR:", "水滴IOT设备清理防重key");
    private String code;
    private String msg;

    RedisTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}

